package max.ta.stock.plot;

import org.jfree.chart.ChartFactory;
import org.jfree.chart.JFreeChart;
import org.jfree.data.xy.DefaultHighLowDataset;

public class HighLowChartPlotter
	extends AbstractFinancialChartPlotter {

    private static final long serialVersionUID = 1L;

    public HighLowChartPlotter(final String title) {
	super(title);
    }

    @Override
    protected JFreeChart createBaseChart(DefaultHighLowDataset dataSet) {
	JFreeChart chart = ChartFactory.createHighLowChart(title, "Time", "Price", dataSet, LEGEND);
	return chart;
    }
}
